package com.example.study.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

@Data
@Configuration
public class MyConfig {
    @Value("${server.port}")
    private int port;
}
